import type {RouteRecordRaw} from 'vue-router';

import {$t} from '#/locales';

const routes: RouteRecordRaw = [
    {
        name: 'Profile',
        path: '/profile',
        meta: {
            title: 'Profile',
            hideInMenu: true,
            hideInBreadcrumb: true,
        },
        children: [
            {
                name: 'PersonalCenter',
                path: '/personal-center',
                component: () => import('#/views/core/personal-center/index.vue'),
                meta: {
                    title: $t('page.personal-center.title'),
                },
            },
        ]
    }
]

export default routes;